package com.codeskillet.blog
import com.codeskillet.security.Person;
class Entry {



  /**
   * The author of this entry
  */

  Person author;

  /**
   * The category of this entry
   */
  Category category;

  /**
   * The date this entry was created on
  */
  Date createdOn;


  /**
   *
  */
  static hasMany = [
    comments : Comment,
    tags : Tag
  ]

  static belongsTo = [
    Person,
    Category
  ]


  static constraints = {
  }
}
